const list = [
  {
    id: 1,
    sex: 1,
    name: '雷老虎',
    description: '又帅又黑',
    area: 1,
    photo: 'https://img.zcool.cn/community/014c0b5b081f45a8012043d828f0d6.jpg@1280w_1l_2o_100sh.jpg'
  },
  {
    id: 2,
    sex: 2,
    name: '母大虫',
    description: '天天不知道在想啥',
    area: 1,
    photo: 'https://img.zcool.cn/community/0101865930c518a8012193a3b82296.jpg@1280w_1l_2o_100sh.jpg'
  },
  {
    id: 3,
    sex: 1,
    name: '犬夜叉',
    description: '启蒙老师',
    area: 2,
    photo: 'https://p1.ssl.qhimg.com/t013a6dec84cb1d363d.jpg'
  },
]

export default [
  {
    url: '/mock/relative',
    method: 'get',
    response: () => {
      //sex 1 男 2女
      return {
        code: 200,
        data: list
      }
    }
  },
  {
    url: '/mock/relative/upload',
    method: 'post',
    response: (res) => {
      return {
        code: 200,
        data: res
      }
    }
  }
]
